﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProfileBox.ascx.cs" Inherits="Frontend_Controls_ProfileBox" %>

<div class="profile-box">

<asp:PlaceHolder ID="plhLoggedIn" runat="server" Visible="false">
    <div class="profile">
        <div class="avatar pull-left">
            <img src="/Frontend/Images/dummy_avatar.png" />
        </div>
        <div class="info pull-right">
            <div>
                Logged as, <asp:HyperLink runat="server" ID="lnkProfile" Text="" href="#"  />
            </div>
            <div>
                <asp:LinkButton runat="server" ID="lnkLogout" OnClick="lnkLogout_Click" Text="Logout"  />
            </div>
        </div>
        <div class="clearfix"></div>
    </div>
</asp:PlaceHolder>
<asp:PlaceHolder ID="plhNotLoggedIn" runat="server" Visible="false">
    <asp:HyperLink runat="server" ID="lnkSignin" Text="Sign in" CssClass="btn btn-small btn-primary" NavigateUrl="/Login" />
</asp:PlaceHolder>

</div>
